<?php

namespace pmvc\data\validation;

/**
 * An object that validates other objects.
 *
 */
interface Validator {
	
	/**
	 * Validates an object.
	 *
	 * @param $input the object to validate
	 * @return true if validation passes, false otherwise
	 */
	public function validate($input);
	
}

?>